package com.woniuxy.micropurchaseserver.bean;

import lombok.*;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@RequiredArgsConstructor
@Accessors (chain = true)
public class PurchaseOrderBean {
  @NonNull
  private long id;                             //采购单id
  private String purchaseOrderNumber;          //采购单号
  private String fkPruchasingStores;           //采购门店
  private String pruchasingStaff;              //采购人员
  private double pruchaseAmount;               //采购金额
  private double preferentialAmount;           //优惠金额
  private double otherAmount;                  //其他金额
  private long auditStatus;                    //审核状态  0: 待审核 1:审核失败 2:审核成功
  private long fkSupplierId;                   //供应商id  外键
  private String remark;                       //备注
  private String voucherMaker;                 //制单人员
  private Date preparationDate;       //制单日期
  private String auditor;                      //审核人员
  private Date auditDate;             //审核日期
  private long storageStatus;                  //入库状态  0：待入库 1：部分入库 2:已入库 3:已作废
  private long delStatus;                      //删除状态  0: 未删除 1: 已删除


}
